package com.beagle.njddapp.bean;

import java.io.Serializable;

/**
 * @author hxx
 * @date 2021-06-23 09:39
 */
public class UpdateBean implements Serializable {


    /**
     * code : 0
     * desc : 成功
     * result : {"id":1,"code":"0","version":"v1.0.0","url":"https://api.sinagin.com/apprelease/android/tongliao/release/v1.0.0/apk/","createDate":null}
     */

    private String code;
    private String desc;
    private ResultBean result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 1
         * code : 0
         * version : v1.0.0
         * url : https://api.sinagin.com/apprelease/android/tongliao/release/v1.0.0/apk/
         * createDate : null
         */

        private int id;
        private String code;
        private String version;
        private String url;
        private Object createDate;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public Object getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Object createDate) {
            this.createDate = createDate;
        }
    }
}
